%AIRCRAFT Aircraft class constructor.
%   a = AIRCRAFT(s) creates an Aircraft object.
%
%   elstonj 02-20-08
function self = Aircraft()
%*=+--+=#=+--      UAS Severe Weather Simulation Softeware        --+=#=+--+=#*%
%          Copyright (C) 2013 Regents of the University of Colorado.           %
%                             All Rights Reserved.                             %
%                                                                              %
%    This program is free software: you can redistribute it and/or modify      %
%    it under the terms of the GNU General Public License version 2 as         %
%    published by the Free Software Foundation.                                %
%                                                                              %
%    This program is distributed in the hope that it will be useful,           %
%    but WITHOUT ANY WARRANTY; without even the implied warranty of            %
%    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             %
%    GNU General Public License for more details.                              %
%                                                                              %
%    You should have received a copy of the GNU General Public License         %
%    along with this program.  If not, see <http://www.gnu.org/licenses/>.     %
%                                                                              %
%           Jack Elston                                                        %
%           elstonj@colorado.edu                                               %
%                                                                              %
%*=+--+=#=+--                 --+=#=+--+=#=+--                    --+=#=+--+=#*%

  self.vel     =  0;  % m/s
  self.pos     =  [0,0,0];   % m
  self.euler   =  [0,0,0]; % rad
  self.vmax    =  40;  % m/s
  self.vmin    =  15;  % m/s
  self.turnmax =  0.1; % rad/s
  self.input   =  [0,0];

  self.nextpos  = self.pos;
  
  self.flight_computer = [];

  self.log.sonde      = [0,0,0,0,0,0];
  self.log.position   = [self.pos];
  self.log.velocity   = [self.vel];
  self.log.euler      = [self.euler];
  self.log.input      = [self.input];
  self.log.err        = [0];

  self = class(self,'Aircraft');
